package cn.com.surker.enums.production;

import cn.com.surker.enums.IDescription;

/**
 * @Author lucky
 * @create 2022年10月04 7:02
 * @desc 生产流程类型
 */
public enum ProductionEnum implements IDescription {

    TRANSPORT(0,"运输付款"), PUMP(1,"泵送付款"),
    FUEL(2, "燃油付款"),DESIGN(4,"设计付款"), SALARY(5,"劳务费"),
    OTHER(3,"其他"),
    PCYS(6,"PC运输付款"), ZL(7,"租赁付款");

    private final String description;

    private final Integer code;

    ProductionEnum(Integer code, String description) {
        this.description = description;
        this.code = code;
    }

    @Override
    public String getDescription() {
        return description;
    }

    public Integer getCode() {return code;}
}